package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * Dicom文件对象 pacs_file
 * 
 * @author ruoyi
 * @date 2025-03-09
 */
public class PacsFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 序列ID */
    @Excel(name = "序列ID")
    private Long seriesId;

    /** 文件序号 */
    @Excel(name = "文件序号")
    private Long instNo;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String filePath;

    /** 唯一标识 */
    @Excel(name = "唯一标识")
    private String instanceIuid;

    /** 文件质量  0默认未检测  1检测成功  -1检测失败 */
    @Excel(name = "文件质量  0默认未检测  1检测成功  -1检测失败")
    private Long documentQuality;

    /** 帧数 */
    @Excel(name = "帧数")
    private Long frame;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSeriesId(Long seriesId) 
    {
        this.seriesId = seriesId;
    }

    public Long getSeriesId() 
    {
        return seriesId;
    }

    public void setInstNo(Long instNo) 
    {
        this.instNo = instNo;
    }

    public Long getInstNo() 
    {
        return instNo;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setInstanceIuid(String instanceIuid) 
    {
        this.instanceIuid = instanceIuid;
    }

    public String getInstanceIuid() 
    {
        return instanceIuid;
    }

    public void setDocumentQuality(Long documentQuality) 
    {
        this.documentQuality = documentQuality;
    }

    public Long getDocumentQuality() 
    {
        return documentQuality;
    }

    public void setFrame(Long frame) 
    {
        this.frame = frame;
    }

    public Long getFrame() 
    {
        return frame;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("seriesId", getSeriesId())
            .append("instNo", getInstNo())
            .append("filePath", getFilePath())
            .append("instanceIuid", getInstanceIuid())
            .append("documentQuality", getDocumentQuality())
            .append("frame", getFrame())
            .toString();
    }
}
